package com.example.demo.service;

import com.example.demo.model.purchaseDetails;

import java.util.List;

public interface purchaseDetailsService {
    purchaseDetails findById(String id);//查询指定采购明细信息

    List<purchaseDetails> findAll();//查询所有采购明细信息

    void delete(String id);// 删除采购明细信息
    void deleteAllByPdpriceIsNull();
    purchaseDetails save(purchaseDetails purchaseDetails);//保存和更新数据
}
